From: Boyuan Yang Date: Mon, 13 Apr 2020 22:06:32 +0000 (-0400) Subject: debian/watch: Refresh with v4 format X-Git-Tag: archive/raspbian/1.1.9+ds1-4+rpi1^2^2~165 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=3f3475112de7d95234285c58073ad7ee1fa7e1a9;p=opencc.git debian/watch: Refresh with v4 format --- diff --git a/debian/watch b/debian/watch index bc0c338..d5f567f 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ -version=3 -opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/opencc-$1\.tar\.gz/ \ - https://github.com/byvoid/opencc/tags .*/ver\.?(\d\S*)\.tar\.gz +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%opencc-$1.tar.gz%" \ + https://github.com/byvoid/opencc/releases \ + (?:.*?/)?(?:ver\.)?(\d[\d.]*)\.tar\.gz debian uupdate